class MyHashMap(object):

    def __init__(self):
        self.stack = [-1] * (10 ** 6 + 1)


    def put(self, key, value):
        """
        :type key: int
        :type value: int
        :rtype: None
        """
        self.stack[key] = value


    def get(self, key):
        """
        :type key: int
        :rtype: int
        """
        return self.stack[key]


    def remove(self, key):
        """
        :type key: int
        :rtype: None
        """
        self.stack[key] = - 1